function *show(){
    alert('a');
    yield
    alert('b');
}
var obj = show();
console.log(obj);